d_memoryOperation:=${module_libmemoryOperation_path}
TOP_opendpi:=$(TOP)/test/opendpi
OBJS_DIR:=$(LIB_DIR)

LIBRARY_memoryOperation:=$(OBJS_DIR)/libmemoryOperation.a
OBJS_memoryOperation= $(OBJS_DIR)/memop_flow.o
OBJS_memoryOperation+=$(OBJS_DIR)/memop_id.o
OBJS_memoryOperation+=$(OBJS_DIR)/memop_action.o

MEMORYOPERATION_CFLAGS_LOCAL:=-I$(TOP_opendpi)/opendpi/src/include -I$(d_memoryOperation) -I$(TOP_opendpi)/api -I$(TOP_opendpi)/opendpi/src/examples/OpenDPI_demo -I$(TOP_opendpi)/opendpi/src/lib


module_libmemoryOperation:$(LIBRARY_memoryOperation)

$(LIBRARY_memoryOperation):$(OBJS_memoryOperation)
	$(AR) -cr $(LIBRARY_memoryOperation) $(OBJS_memoryOperation)
$(OBJS_DIR)/%.o:$(d_memoryOperation)/%.c
	$(COMPILE) $(MEMORYOPERATION_CFLAGS_LOCAL)


